package com.example.covid;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.util.ResourceUtils;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;

/**
 * 本身就是Spring的一个组件
 * 程序的主入口
 * @author KamenRider
 */
//mybatis的接口扫描
@MapperScan("com.example.covid.dao")
@SpringBootApplication
public class Application{
    public static void main(String[] args) {
        //SpringApplication 将springboot应用启动
        SpringApplication.run(Application.class, args);
    }
}
